home *** CD-ROM | disk | FTP | other *** search
- /*
- *--- PGetObjectLoc.cpp ---------------------------------------------------
- * Copyright (c) 1995-96 Adobe Systems Incorporated. All rights reserved.
- * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
- *
- * Description: For notes about this class, refer to the
- * PCL documentation file PGetObjectLoc.html
- *-------------------------------------------------------------------------
- */
-
- #include "PGetObjectLoc.h"
- #include "PQuery.h"
- #include "PRequestBuf.h"
-
- const size_t REPLY_SIZE = 8;
-
- PGetObjectLoc::PGetObjectLoc(short cHandle)
- {
- char temp[8];
- PRequestBuf request(temp);
-
- request << cHandle;
-
- long x[16];
- PQuery query(pm_getobjectloc, request, x, REPLY_SIZE);
-
- xValue = x[0];
- yValue = x[1];
- }
-
- // end of PGetObjectLoc.cpp
-